MUSIC EXIST

This command will return an integer value of one if the specified music exists, otherwise zero is returned.

  Syntax
Return Integer=MUSIC EXIST(Music Number)
  Parameters
Music Number
Integer
The music number exists

  Returns

This value is an integer number such as 1.

  Example Code
cls
load music "happy.mp3",1
Play music 1
print "music exist+str$(music exist(1))
do
loop
stop music 1
end
  See also

MUSIC Commands Menu
Index